<template>
  <Nav_bar :title="'提现规则'" />
  <div class="ivestorCashRuleBox">
    <div class="ivestorCashRule">
      <div v-html="rule"></div>
    </div>
  </div>
  <Tabbar />
</template>

<script setup>
import { getCashRuleApi } from '@/api/ivestorCash/ivestorCash'
import { ref, reactive } from 'vue'

const rule = ref()
/**获取提现规则 */
const getCashRule = async () => {
  try {
    const res = await getCashRuleApi()
    console.log(res.data.rule)
    if (res && res.code === 200) {
      rule.value = res.data.rule
    }
  } catch (error) {}
}

getCashRule()
</script>

<style lang="scss" scoped>
.ivestorCashRuleBox {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ivestorCashRule {
  width: 347px;
  min-height: 80vh;
  background: #fff;
}
</style>
